package cn.jc.myfile.common.validation;

import java.lang.annotation.Annotation;
import java.lang.reflect.Field;

public interface Validator<T extends Annotation> {
    Class<T> supportAnnotation();
    void validate(Object target, Field field, T annotation);
}
